Merge pull request #1013 from cantino/we_do_not_have_a_github_agent_yet

Remove unused GitHub integration

Andrew Cantino 9 years ago
parent
commit
f7822b98c6
3 changed files with 0 additions and 9 deletions
  1. 0 1
      Gemfile
  2. 0 6
      config/initializers/devise.rb
  3. 0 2
      docker/README.md

+ 0 - 1
Gemfile

@@ -41,7 +41,6 @@ gem 'haversine'
41 41
 
42 42
 # Optional Services.
43 43
 gem 'omniauth-37signals'          # BasecampAgent
44
-# gem 'omniauth-github'
45 44
 gem 'omniauth-wunderlist', github: 'wunderlist/omniauth-wunderlist', ref: 'd0910d0396107b9302aa1bc50e74bb140990ccb8'
46 45
 
47 46
 # Bundler <1.5 does not recognize :x64_mingw as a valid platform name.

+ 0 - 6
config/initializers/devise.rb

@@ -251,12 +251,6 @@ Devise.setup do |config|
251 251
     config.omniauth :'37signals', key, secret
252 252
   end
253 253
 
254
-  if defined?(OmniAuth::Strategies::GitHub) &&
255
-     (key = ENV["GITHUB_OAUTH_KEY"]).present? &&
256
-     (secret = ENV["GITHUB_OAUTH_SECRET"]).present?
257
-    config.omniauth :github, key, secret
258
-  end
259
-
260 254
   if defined?(OmniAuth::Strategies::Dropbox) &&
261 255
      (key = ENV["DROPBOX_OAUTH_KEY"]).present? &&
262 256
      (secret = ENV["DROPBOX_OAUTH_SECRET"]).present?

+ 0 - 2
docker/README.md

@@ -114,8 +114,6 @@ These are:
114 114
     HUGINN_TWITTER_OAUTH_SECRET
115 115
     HUGINN_THIRTY_SEVEN_SIGNALS_OAUTH_KEY
116 116
     HUGINN_THIRTY_SEVEN_SIGNALS_OAUTH_SECRET
117
-    HUGINN_GITHUB_OAUTH_KEY
118
-    HUGINN_GITHUB_OAUTH_SECRET
119 117
     HUGINN_AWS_ACCESS_KEY_ID
120 118
     HUGINN_AWS_ACCESS_KEY
121 119
     HUGINN_AWS_SANDBOX